import request from '@/utils/request'

export default{
    
    deleteAliyunvod(id){
        return request({
            url:`/eduvideo/video/removeAlyVideo/${id}`,
            method:"post"
        })
    },

    //获取一条数据
    info(id){
        return request({
            url:`/eduservice/edu-video/info/${id}`,
            method:"get",
        })
    },
    //保存
    save(video){
        return request({
            url:`/eduservice/edu-video/save`,
            method:"post",
            data:video
        })
    },
    //更新
    update(video){
        return request({
            url:`/eduservice/edu-video/edit`,
            method:"put",
            data:video
        })
    },


    //删除
    delete(id){
        return request({
            url:`/eduservice/edu-video/delete/${id}`,
            method:"delete",
        })
    },

}